ProfilePress\Core\ContentProtection\ContentConditions B

Total Complexity 78
Dependencies 0
Dependents 3
Total lines 584
Lines of code 418
Logical lines of code 174
Comment lines 38
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
generate_post_type_conditions()
A
36 7 93
rules_group_row()
A
50 8 31
exempt_rule_row()
S
48 6 36
rule_row()
S
48 6 36
exempt_rules_group_row()
S
54 6 24
select_field()
S
55 6 19
exempt_rule_value_field()
S
54 4 20
rule_value_field()
S
54 4 20
add_conditions()
S
66 4 8
conditions_dropdown_list()
S
62 3 12
add_condition()
S
61 3 12
generate_taxonomy_conditions()
S
52 2 25
generate_post_type_tax_conditions()
S
54 2 20
get_conditions()
S
65 3 10
get_conditions_by_group()
S
64 3 10
taxonomyselect_field()
S
63 2 10
get_condition()
S
74 2 4
postselect_field()
S
63 2 10
get_instance()
S
69 2 7
register_conditions()
S
72 1 5
linked_and_rule_badge()
S
78 1 3
unlinked_and_rule_badge()
S
78 1 3